package ema.tpjee.banking.dao;

import java.util.Collection;

import ema.tpjee.banking.model.Bank;
import ema.tpjee.banking.model.City;



public interface BankApplicationDao {
	public Collection<Bank> listBank();
	public Collection<Bank> reverseListBank();
	public Bank addBank(Bank b);
	public Bank findBank(int id);
	public Bank deleteBank(Bank b);
	public Bank firstBank();
	public Bank lastBank();
	public Bank priorBank(Bank b);
	public Bank nextBank(Bank b);
	public Bank cloneBank(Bank b);
	public Bank newBank();
	public Bank modifyBank(Bank b);
	public Bank foobar(Bank b);
	public Bank getTestRandomBank();
	public void populate();
	public City addCity(City city);

	public ema.tpjee.banking.dao.SessionFacade getSessionFacade();
	public void setSessionFacade(
			ema.tpjee.banking.dao.SessionFacade sessionfacade);
}
